package com.ecode.ocr.service;

import com.ecode.ocr.domain.idCard.IdCardResultDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author wqh
 */
public interface JdCloudService {

    /**
     * 身份证识别
     * @author: wqh
     * @param: multipartFile
     * @return: List<IdCardResultDTO>
     */
    List<IdCardResultDTO> getIdCardInfo(MultipartFile multipartFile) throws Exception;

    /**
     * 营业执照识别
     * @author: wqh
     * @param: multipartFile
     * @return: Object
     */
    Object getBusinessInfo(MultipartFile multipartFile) throws Exception;

    /**
     * 营业执照识别
     * @author: wqh
     * @param: multipartFile
     * @return: Object
     */
    Object getInvoiceInfo(MultipartFile multipartFile) throws Exception;
}
